projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70e857
)
roundedbox: Fix copy-paste error
author
Benjamin Otte
<otte@redhat.com>
Thu, 20 Dec 2012 18:51:06 +0000
(19:51 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 21 Dec 2012 18:47:40 +0000
(19:47 +0100)
y coordinates don't care about the right value, they want bottom.
gtk/gtkroundedbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkroundedbox.c
b/gtk/gtkroundedbox.c
index 3fa44e0ab9ee6c0b4147bea87b6007b0c0931fbb..653d27feefaa2008e2f0a5a1dac8171d3cfadad8 100644
(file)
--- a/
gtk/gtkroundedbox.c
+++ b/
gtk/gtkroundedbox.c
@@
-171,7
+171,7
@@
_gtk_rounded_box_grow (GtkRoundedBox *box,
box->box.width += left + right;
}
- if (box->box.height + bottom +
right
< 0)
+ if (box->box.height + bottom +
top
< 0)
{
box->box.y -= top * box->box.height / (top + bottom);
box->box.height = 0;